package cn.lili.modules.order.order.entity.vo;

import cn.lili.modules.order.order.entity.dos.RankingAwards;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 活动列表vo类
 */
@Data
public class RankingActivityConfigVO {
    @ApiModelProperty("活动id")
    private String id;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "参与人数")
    private Integer peopleNum = 0;

    @ApiModelProperty(value = "总积分")
    private Double totalScore = 0.0;

    @ApiModelProperty(value = "活动开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @ApiModelProperty(value = "活动结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    @ApiModelProperty(value = "参与条件 大于等于*佣金")
    private Double commissCondition = 0.0;

    @ApiModelProperty(value = "活动状态: 0,未开始 1,进行中 2,已结束")
    private Integer activityStatus;


    @ApiModelProperty("奖品列表")
    List<RankingAwards> rankingAwards = new ArrayList<>();

}
